package com.lk.springboot.dao;

import com.lk.springboot.bean.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author lk
 * @date 2020/1/5 0005 18:10
 */
@Mapper
public interface AdminMapper {
    @Select("select name from  admin where name=#{name}and password=#{password}")
    public String get(Admin admin);
}
